package com.hfzy.ihk.facade.freeswitchCall.service;

import java.util.List;

/**
 * Created by Liuhuitao on 2016/10/31.
 *
 * 统计客户号码呼叫次数
 * type String(必填)
        LC:联动Call客
        CF:联动Call客继续跟进
        PC:盘源详细页
 num String(必填) 电话号码
 */
public interface CloudCallCacheService {


    //号码呼叫量加1
    public Long  incrCallCountByNum(String type, String num);

    //按类型查询呼叫次数
    public Long getCallCountByNum(String type, String num);

    //获得号码的总呼叫次数
    Long getCallCountByNum(String num);

    //设置封存名单
    public String updateStopUseCustomer(List<String> phoneList, int seconds);

    Long incrEbookCallCountByNumUid(String num, Integer userId);

    Long getEbookCallCountByNumUid(String num, Integer userId);

}
